package com.example.freeengine.wallpaper.persistence.factory;

import android.content.Context;

import androidx.room.Room;

import com.example.freeengine.wallpaper.persistence.database.WallPaperCycleRefreshDatabase;

/**
 * @author Terry Deng
 */
public class FreeEngineDatabaseFactory {

    public static WallPaperCycleRefreshDatabase getWallPaperCycleRefreshDatabaseInstance(Context context, String dbName){
        return Room.databaseBuilder(context, WallPaperCycleRefreshDatabase.class, dbName).build();
    }

}
